home *** CD-ROM | disk | FTP | other *** search
- #ifdef __STDC__
- # define P(s) s
- #else
- # define P(s) ()
- #endif
-
- #include "astat.h"
-
- /* check.c */
- void prt P((void ));
- void check P((struct name *np ));
- void circh P((void ));
- void precious P((void ));
-
- /* input.c */
- struct name *newname P((char *name ));
- struct depend *newdep P((struct name *np , struct depend *dp ));
- struct cmd *newcmd P((char *str , struct cmd *cp ));
- void newline P((struct name *np , struct depend *dp , struct cmd *cp , int flag ));
- void input P((FILE *fd ));
-
- /* macro.c */
- struct macro *getmp P((char *name ));
- char *getmacro P((char *name ));
- struct macro *setmacro P((char *name , char *val ));
- void doexp P((char **to , char *from , int *len , char *buf ));
- void expand P((char *str ));
-
- /* reader.c */
- /* void error P((char *msg , int a1 , int a2 , int a3 )); */
- bool getline P((char *str , FILE *fd ));
- char *gettok P((char **ptr ));
-
- /* rules.c */
- char *suffix P((char *name ));
- bool dyndep P((struct name *np ));
- void makerules P((void ));
-
- /* main.c */
- int usage P((void ));
-
- /* make.c */
- int dosh P((char *string , char *shell ));
- void docmds1 P((struct name *np , struct line *lp ));
- int docmds P((struct name *np ));
- int time P((time_t *tp ));
- void modtime P((struct name *np ));
- void touch P((struct name *np ));
- int make P((struct name *np , int level ));
- int make1 P((struct name *np , struct line *lp , struct depend *qdp ));
-
- /* ststuff.c */
- int getstat P((char *fname , struct stat *buf ));
- #ifndef __GNUC__
- int system P((char *cmd ));
- int st_special P((char *cmd ));
- int rm P((char *list ));
- int remove P((char *filename ));
- int cp P((char *list ));
- int echo P((char *list ));
- #endif
- int rtime P((long *t ));
- void FlipWords P((unsigned short *i));
-
- #undef P
-